'use strict';

function compare_collections(collection_a, collection_b) {
  //在这里写入代码
  var equal=collection_a.reduce(function(pre,cur,index){
    if(cur=collection_b[index]) return true;
  },0)
  return equal;
}

module.exports = compare_collections;


